package com.yige.common;

/**
 * Created by sunhao on 2015/8/21 0021.
 */
public class SystemConstant {


    /*******************登陆常量*********************/

    //登录校验结果
    public static final int SUCCESS = 0;
    public static final int USER_NAME_ERROR = 1;
    public static final int PASSWORD_ERROR = 2;
    public static final int USER_STATUS_OFF = 3;

    //默认密码
    public static final String DEFAULT_PASSWORD = "ygqh123";

    /*******************用户常量*********************/

    //用户状态
    public static final Integer USER_ON_JOB = 1;
    public static final Integer USER_OFF_JOB = 0;


    /*******************角色常量*********************/

    //超级管理员ID
    public static final String ADMINISTRATTOR_ID = "d5c267c5-f306-4b59-abe4-6e0a26bcf938";
    //管理员ID
    public static final String ADMIN_ID = "272d1a90-a728-4542-9aed-acde122f8307";
    //教师ID
    public static final String TEACHER_ID = "08903ddc-7414-4b63-9fd2-2e4b471ba5e9";



    /*******************资源常量*********************/

    //资源属性
    public static final String RESOURCE_TYPE_NAV = "nav";
    public static final String RESOURCE_TYPE_MENU = "menu";
    public static final String RESOURCE_TYPE_BUTTON = "button";

    public static final Integer RESOURCE_ON_JOB = 1;
    public static final Integer RESOURCE_OFF_JOB = 0;


    /*******************学生常量*********************/

    public static final Integer STUDENT_STATUS_ON = 1;
    public static final Integer STUDENT_STATUS_OFF = 0;



    /*******************课程常量*********************/
    public static final String LESSON_PIANO = "907db72b-55e2-47d0-952f-49fd1e44169a";
    public static final String LESSON_GUITAR ="4a37f2a7-f910-4c1d-b02e-30ab9aa94867";
    public static final String LESSON_ZHENG = "6870c374-5bb0-491a-8f9f-31a985459cf1";
    public static final String LESSON_SKETCH = "16bc1565-f690-4e12-bf1f-cd80ea9b611c";
    public static final String LESSON_CARTOON = "dc13ffa5-f56e-498e-afa9-1e3a81fc745d";
    public static final String LESSON_DRAW = "00b3763b-c4c2-423d-b51f-f17909dcab5e";
    public static final String LESSON_SING = "817e4398-e9ca-4936-a34f-1f1724086ee0";
    public static final String LESSON_FIELD_NEBULA = "f99d15f9-2b1a-48f3-915a-293dbd47d8e6";
    public static final String LESSON_UKULELE = "afc55e38-60d6-4191-973e-0b3ea7740401";
    public static final String LESSON_LATIN_DANCE = "60d25c6f-ebd7-48c5-b868-3fa9c18079af";


    /*******************商品常量*********************/
    public static final String GOODS_PIANO = "piano";
    public static final String GOODS_ZHENG = "zheng";
    public static final String GOODS_GUITAR = "guitar";
    public static final String GOODS_UKULELE = "ukulele";
    public static final String GOODS_BOOK = "book";
    public static final String GOODS_OTHER = "other";


    /*******************收入项目常量*********************/
    public static final String INCOME_KEFEI = "6788ecce-1885-4ff5-99e7-491cc6740577";
    public static final String INCOME_INSTRUMENT = "41f4b899-0755-400c-8c60-ac934e056731";
    public static final String INCOME_BOOKS = "659c0223-5bba-463b-ae8d-aef635e24aa8";
    public static final String INCOME_ENLIST = "de7b2543-60cf-493e-93f2-7ceef785cd3d";
    public static final String INCOME_SUPPLIES = "bf11794a-8444-4fe9-b3bd-511bd8180546";
    public static final String INCOME_OTHERS = "968aab20-1998-4b70-9691-cc4aa589a909";

    public static final int INCOME_PAY = 1;
    public static final int INCOME_NOPAY = 0;
    public static final int INCOME_CANCEL = -1;

    /*******************数据库常量*********************/

    //数据库集合
    public static final String MONGODB_COL_USER = "user";
    public static final String MONGODB_COL_ROLE = "role";
    public static final String MONGODB_COL_RESOURCE = "resource";
    public static final String MONGODB_COL_LESSON = "lesson";
    public static final String MONGODB_COL_TEACHER = "teacher";
    public static final String MONGODB_COL_STUDENT = "student";
    public static final String MONGODB_COL_SALARY = "salary";
    public static final String MONGODB_COL_ACTION_INCOME = "action_income";
    public static final String MONGODB_COL_ACTION_EXPENDITURE = "action_expenditure";
    public static final String MONGODB_COL_COST = "cost";
    public static final String MONGODB_COL_RECORD = "record";
    public static final String MONGODB_COL_GOODS = "goods";
    public static final String MONGODB_COL_GOODS_CLASS = "goods_class";
    public static final String MONGODB_COL_GOODS_GROUP = "goods_group";
    public static final String MONGODB_COL_GOODS_NUM = "goods_num";
    public static final String MONGODB_COL_STORAGE_GOODS = "storage_goods";
    public static final String MONGODB_COL_INCOME = "income";
    public static final String MONGODB_COL_EXPENDITURE = "expenditure";
    public static final String MONGODB_COL_PAYlOG = "payLog";
    public static final String MONGODB_COL_MANAGER = "manager";
    public static final String MONGODB_COL_MONEY = "money";
    public static final String MONGODB_COL_LESSON_STU = "student_lesson";
    public static final String MONGODB_COL_ACCOUNTS = "accounts";

    /*******************工资常量*********************/

    //工资课费及提成
    public static final Double SALARY_SEVEN = 0.7;
    public static final Double SALARY_SIX = 0.6;
    public static final Double SALARY_EIGHT = 0.8;
    public static final Double SALARY_FIVE = 0.5;



}
